{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import tushare as ts"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Index(['002447', '000971', '300299', '300193', '002766', '002848', '000705',\n",
      "       '600810', '002331', '603557',\n",
      "       ...\n",
      "       '603590', '603192', '601068', '600680', '600401', '002933', '002070',\n",
      "       '000950', '000693', '000629'],\n",
      "      dtype='object', name='code', length=3540)\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\liutp\\Anaconda3\\lib\\site-packages\\ipykernel_launcher.py:17: DeprecationWarning: \n",
      ".ix is deprecated. Please use\n",
      ".loc for label based indexing or\n",
      ".iloc for positional indexing\n",
      "\n",
      "See the documentation here:\n",
      "http://pandas.pydata.org/pandas-docs/stable/indexing.html#ix-indexer-is-deprecated\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "            date    open   close    high     low     volume    code\n",
      "0     2008-05-22   1.415   1.373   1.512   1.355  193246.61  002241\n",
      "1     2008-05-23   1.481   1.386   1.511   1.370  112567.16  002241\n",
      "2     2008-05-26   1.326   1.366   1.392   1.277   72923.73  002241\n",
      "3     2008-05-27   1.393   1.397   1.485   1.362   45123.00  002241\n",
      "4     2008-05-28   1.363   1.372   1.409   1.326   30241.76  002241\n",
      "5     2008-05-29   1.358   1.419   1.448   1.295   50073.66  002241\n",
      "6     2008-05-30   1.409   1.406   1.468   1.395   32183.74  002241\n",
      "7     2008-06-02   1.388   1.357   1.391   1.340   17606.58  002241\n",
      "8     2008-06-03   1.352   1.424   1.435   1.348   18041.64  002241\n",
      "9     2008-06-04   1.424   1.440   1.477   1.401   28775.88  002241\n",
      "10    2008-06-05   1.414   1.490   1.509   1.401   22317.36  002241\n",
      "11    2008-06-06   1.481   1.459   1.546   1.450   24649.98  002241\n",
      "12    2008-06-10   1.402   1.399   1.421   1.346   23603.14  002241\n",
      "13    2008-06-11   1.399   1.302   1.449   1.260   34665.41  002241\n",
      "14    2008-06-12   1.281   1.262   1.281   1.193   28004.63  002241\n",
      "15    2008-06-13   1.239   1.204   1.291   1.194   12525.12  002241\n",
      "16    2008-06-16   1.203   1.176   1.222   1.141    9149.00  002241\n",
      "17    2008-06-17   1.167   1.167   1.202   1.160   12301.79  002241\n",
      "18    2008-06-18   1.167   1.224   1.238   1.153    9084.95  002241\n",
      "19    2008-06-19   1.238   1.203   1.259   1.176   13521.95  002241\n",
      "20    2008-06-20   1.203   1.233   1.299   1.177   11859.09  002241\n",
      "21    2008-06-23   1.202   1.172   1.215   1.110   14252.52  002241\n",
      "22    2008-06-24   1.145   1.189   1.203   1.114   10223.33  002241\n",
      "23    2008-06-25   1.172   1.242   1.247   1.157    9776.59  002241\n",
      "24    2008-06-26   1.229   1.238   1.246   1.176    7676.56  002241\n",
      "25    2008-06-30   1.154   1.187   1.197   1.136    5998.91  002241\n",
      "26    2008-07-01   1.175   1.194   1.222   1.172    3911.06  002241\n",
      "27    2008-07-02   1.179   1.224   1.224   1.177    3590.14  002241\n",
      "28    2008-07-03   1.199   1.264   1.292   1.194    8403.30  002241\n",
      "29    2008-07-04   1.250   1.245   1.264   1.229    6195.52  002241\n",
      "...          ...     ...     ...     ...     ...        ...     ...\n",
      "2428  2018-07-02  10.100   9.860  10.170   9.850  184794.00  002241\n",
      "2429  2018-07-03   9.930  10.010  10.040   9.680  232243.00  002241\n",
      "2430  2018-07-04   9.950   9.720   9.980   9.650  229063.00  002241\n",
      "2431  2018-07-05   9.700   9.300   9.740   9.140  242237.00  002241\n",
      "2432  2018-07-06   9.330   9.440   9.610   9.200  199497.00  002241\n",
      "2433  2018-07-09   9.500   9.720   9.750   9.480  150872.00  002241\n",
      "2434  2018-07-10   9.730   9.760   9.820   9.680  122570.00  002241\n",
      "2435  2018-07-11   9.450   9.480   9.570   9.300  166434.00  002241\n",
      "2436  2018-07-12   9.490  10.070  10.180   9.450  401250.00  002241\n",
      "2437  2018-07-13  10.010   9.920  10.040   9.850  193892.00  002241\n",
      "2438  2018-07-16   9.950   9.950  10.040   9.840  117910.00  002241\n",
      "2439  2018-07-17  10.000  10.000  10.030   9.830  112319.00  002241\n",
      "2440  2018-07-18  10.050   9.870  10.150   9.860  202328.00  002241\n",
      "2441  2018-07-19   9.850   9.670   9.920   9.610  149300.00  002241\n",
      "2442  2018-07-20   9.600   9.740   9.820   9.600  111100.00  002241\n",
      "2443  2018-07-23   9.710   9.950   9.980   9.680  171489.00  002241\n",
      "2444  2018-07-24   9.950  10.170  10.270   9.860  268367.00  002241\n",
      "2445  2018-07-25  10.420  10.350  10.510  10.090  337805.00  002241\n",
      "2446  2018-07-26  10.300  10.000  10.300   9.980  298110.00  002241\n",
      "2447  2018-07-27   9.940   9.870   9.980   9.830  129802.00  002241\n",
      "2448  2018-07-30   9.870   9.680   9.930   9.630  160073.00  002241\n",
      "2449  2018-07-31   9.610   9.620   9.730   9.560  103704.00  002241\n",
      "2450  2018-08-01   9.700   9.420   9.770   9.390  163617.00  002241\n",
      "2451  2018-08-02   9.370   8.960   9.390   8.800  281673.00  002241\n",
      "2452  2018-08-03   9.030   8.730   9.030   8.720  143977.00  002241\n",
      "2453  2018-08-06   8.700   8.390   8.830   8.340  178779.00  002241\n",
      "2454  2018-08-07   8.460   8.640   8.670   8.380  147798.00  002241\n",
      "2455  2018-08-08   8.650   8.400   8.650   8.380  118325.00  002241\n",
      "2456  2018-08-09   8.400   8.680   8.770   8.360  172437.00  002241\n",
      "2457  2018-08-10   8.670   8.720   8.740   8.610  113611.00  002241\n",
      "\n",
      "[2458 rows x 7 columns]\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>code</th>\n",
       "      <th>name</th>\n",
       "      <th>price</th>\n",
       "      <th>bid</th>\n",
       "      <th>ask</th>\n",
       "      <th>volume</th>\n",
       "      <th>amount</th>\n",
       "      <th>time</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>002241</td>\n",
       "      <td>歌尔股份</td>\n",
       "      <td>8.800</td>\n",
       "      <td>8.790</td>\n",
       "      <td>8.800</td>\n",
       "      <td>12782071</td>\n",
       "      <td>110840867.940</td>\n",
       "      <td>16:35:03</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     code  name  price    bid    ask    volume         amount      time\n",
       "0  002241  歌尔股份  8.800  8.790  8.800  12782071  110840867.940  16:35:03"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#copy from network,test Tushare interface\n",
    "import pandas as pd\n",
    "import tushare as ts\n",
    " \n",
    "#日期格式YYYYMMDD转为YYYY-MM-DD\n",
    "def formatDate(Date, formatType='YYYYMMDD'):\n",
    "    formatType = formatType.replace('YYYY', Date[0:4])\n",
    "    formatType = formatType.replace('MM', Date[4:6])\n",
    "    formatType = formatType.replace('DD', Date[-2:])\n",
    "    return formatType\n",
    " \n",
    "dataFrames = ts.get_stock_basics()\n",
    "Code = dataFrames.index\n",
    "print(Code)\n",
    " \n",
    "code = '002241'\n",
    "date = dataFrames.ix[code]['timeToMarket'] #上市日期YYYYMMDD\n",
    "date = formatDate(str(date), 'YYYY-MM-DD')      # 改一下格式\n",
    "#取600000的前复权所有日k线数据，取后复权数据autype='hfq'\n",
    "dayKLin = ts.get_k_data(code=code, ktype='D', autype='qfq', start=date)\n",
    "print(dayKLin)\n",
    "\n",
    "df = ts.get_realtime_quotes('002241') #Single stock symbol\n",
    "df[['code','name','price','bid','ask','volume','amount','time']]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[Getting data:]############################################################"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>code</th>\n",
       "      <th>name</th>\n",
       "      <th>changepercent</th>\n",
       "      <th>trade</th>\n",
       "      <th>open</th>\n",
       "      <th>high</th>\n",
       "      <th>low</th>\n",
       "      <th>settlement</th>\n",
       "      <th>volume</th>\n",
       "      <th>turnoverratio</th>\n",
       "      <th>amount</th>\n",
       "      <th>per</th>\n",
       "      <th>pb</th>\n",
       "      <th>mktcap</th>\n",
       "      <th>nmc</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>603999</td>\n",
       "      <td>读者传媒</td>\n",
       "      <td>0.862</td>\n",
       "      <td>5.85</td>\n",
       "      <td>5.73</td>\n",
       "      <td>5.87</td>\n",
       "      <td>5.69</td>\n",
       "      <td>5.80</td>\n",
       "      <td>1946420.0</td>\n",
       "      <td>0.84480</td>\n",
       "      <td>11266084.0</td>\n",
       "      <td>44.656</td>\n",
       "      <td>1.989</td>\n",
       "      <td>3.369600e+05</td>\n",
       "      <td>1.347840e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>603998</td>\n",
       "      <td>方盛制药</td>\n",
       "      <td>-1.069</td>\n",
       "      <td>6.48</td>\n",
       "      <td>6.38</td>\n",
       "      <td>6.51</td>\n",
       "      <td>6.31</td>\n",
       "      <td>6.55</td>\n",
       "      <td>3280500.0</td>\n",
       "      <td>0.77153</td>\n",
       "      <td>20937755.0</td>\n",
       "      <td>46.286</td>\n",
       "      <td>2.770</td>\n",
       "      <td>2.792468e+05</td>\n",
       "      <td>2.755275e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>603997</td>\n",
       "      <td>继峰股份</td>\n",
       "      <td>0.000</td>\n",
       "      <td>10.87</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>10.87</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>23.630</td>\n",
       "      <td>3.837</td>\n",
       "      <td>6.932008e+05</td>\n",
       "      <td>6.848100e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>603996</td>\n",
       "      <td>中新科技</td>\n",
       "      <td>0.513</td>\n",
       "      <td>9.80</td>\n",
       "      <td>9.51</td>\n",
       "      <td>9.85</td>\n",
       "      <td>9.46</td>\n",
       "      <td>9.75</td>\n",
       "      <td>5762718.0</td>\n",
       "      <td>5.57997</td>\n",
       "      <td>55728401.0</td>\n",
       "      <td>20.000</td>\n",
       "      <td>1.948</td>\n",
       "      <td>2.941470e+05</td>\n",
       "      <td>1.012095e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>603993</td>\n",
       "      <td>洛阳钼业</td>\n",
       "      <td>0.798</td>\n",
       "      <td>5.05</td>\n",
       "      <td>4.90</td>\n",
       "      <td>5.08</td>\n",
       "      <td>4.86</td>\n",
       "      <td>5.01</td>\n",
       "      <td>120604580.0</td>\n",
       "      <td>0.68270</td>\n",
       "      <td>600280386.0</td>\n",
       "      <td>36.071</td>\n",
       "      <td>2.803</td>\n",
       "      <td>1.090762e+07</td>\n",
       "      <td>8.921215e+06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>603991</td>\n",
       "      <td>至正股份</td>\n",
       "      <td>0.143</td>\n",
       "      <td>20.96</td>\n",
       "      <td>20.79</td>\n",
       "      <td>20.99</td>\n",
       "      <td>20.20</td>\n",
       "      <td>20.93</td>\n",
       "      <td>137804.0</td>\n",
       "      <td>0.33546</td>\n",
       "      <td>2863459.0</td>\n",
       "      <td>38.815</td>\n",
       "      <td>3.338</td>\n",
       "      <td>1.562254e+05</td>\n",
       "      <td>8.610141e+04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>603990</td>\n",
       "      <td>麦迪科技</td>\n",
       "      <td>0.830</td>\n",
       "      <td>34.01</td>\n",
       "      <td>33.75</td>\n",
       "      <td>34.02</td>\n",
       "      <td>33.25</td>\n",
       "      <td>33.73</td>\n",
       "      <td>263914.0</td>\n",
       "      <td>0.43787</td>\n",
       "      <td>8916934.0</td>\n",
       "      <td>53.141</td>\n",
       "      <td>6.372</td>\n",
       "      <td>2.752178e+05</td>\n",
       "      <td>2.049851e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>603989</td>\n",
       "      <td>艾华集团</td>\n",
       "      <td>7.257</td>\n",
       "      <td>22.17</td>\n",
       "      <td>20.59</td>\n",
       "      <td>22.59</td>\n",
       "      <td>20.06</td>\n",
       "      <td>20.67</td>\n",
       "      <td>1933524.0</td>\n",
       "      <td>0.49578</td>\n",
       "      <td>41377083.0</td>\n",
       "      <td>22.856</td>\n",
       "      <td>3.241</td>\n",
       "      <td>8.646300e+05</td>\n",
       "      <td>8.646300e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>603988</td>\n",
       "      <td>中电电机</td>\n",
       "      <td>-0.945</td>\n",
       "      <td>17.81</td>\n",
       "      <td>17.58</td>\n",
       "      <td>18.13</td>\n",
       "      <td>17.44</td>\n",
       "      <td>17.98</td>\n",
       "      <td>5192246.0</td>\n",
       "      <td>3.09062</td>\n",
       "      <td>92369992.0</td>\n",
       "      <td>63.607</td>\n",
       "      <td>4.509</td>\n",
       "      <td>2.992080e+05</td>\n",
       "      <td>2.992080e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>603987</td>\n",
       "      <td>康德莱</td>\n",
       "      <td>-0.752</td>\n",
       "      <td>6.60</td>\n",
       "      <td>6.56</td>\n",
       "      <td>6.62</td>\n",
       "      <td>6.43</td>\n",
       "      <td>6.65</td>\n",
       "      <td>1408191.0</td>\n",
       "      <td>0.52920</td>\n",
       "      <td>9209076.0</td>\n",
       "      <td>17.368</td>\n",
       "      <td>1.659</td>\n",
       "      <td>2.914619e+05</td>\n",
       "      <td>1.756260e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>603986</td>\n",
       "      <td>兆易创新</td>\n",
       "      <td>3.121</td>\n",
       "      <td>114.64</td>\n",
       "      <td>109.66</td>\n",
       "      <td>115.28</td>\n",
       "      <td>108.68</td>\n",
       "      <td>111.17</td>\n",
       "      <td>6147902.0</td>\n",
       "      <td>2.96431</td>\n",
       "      <td>690438062.0</td>\n",
       "      <td>57.608</td>\n",
       "      <td>13.582</td>\n",
       "      <td>3.252478e+06</td>\n",
       "      <td>2.377601e+06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>603985</td>\n",
       "      <td>恒润股份</td>\n",
       "      <td>-0.216</td>\n",
       "      <td>18.52</td>\n",
       "      <td>18.30</td>\n",
       "      <td>18.54</td>\n",
       "      <td>18.20</td>\n",
       "      <td>18.56</td>\n",
       "      <td>312410.0</td>\n",
       "      <td>0.46937</td>\n",
       "      <td>5740680.0</td>\n",
       "      <td>14.635</td>\n",
       "      <td>1.436</td>\n",
       "      <td>1.926080e+05</td>\n",
       "      <td>1.232691e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>603980</td>\n",
       "      <td>吉华集团</td>\n",
       "      <td>-0.356</td>\n",
       "      <td>13.99</td>\n",
       "      <td>13.80</td>\n",
       "      <td>14.05</td>\n",
       "      <td>13.72</td>\n",
       "      <td>14.04</td>\n",
       "      <td>1778190.0</td>\n",
       "      <td>0.72392</td>\n",
       "      <td>24673322.0</td>\n",
       "      <td>15.844</td>\n",
       "      <td>1.709</td>\n",
       "      <td>6.995000e+05</td>\n",
       "      <td>3.436407e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>603979</td>\n",
       "      <td>金诚信</td>\n",
       "      <td>-0.879</td>\n",
       "      <td>9.02</td>\n",
       "      <td>8.97</td>\n",
       "      <td>9.09</td>\n",
       "      <td>8.82</td>\n",
       "      <td>9.10</td>\n",
       "      <td>2966448.0</td>\n",
       "      <td>0.50709</td>\n",
       "      <td>26536535.0</td>\n",
       "      <td>25.771</td>\n",
       "      <td>1.333</td>\n",
       "      <td>5.276700e+05</td>\n",
       "      <td>5.276700e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>603978</td>\n",
       "      <td>深圳新星</td>\n",
       "      <td>-1.338</td>\n",
       "      <td>28.02</td>\n",
       "      <td>27.55</td>\n",
       "      <td>28.28</td>\n",
       "      <td>27.08</td>\n",
       "      <td>28.40</td>\n",
       "      <td>2536300.0</td>\n",
       "      <td>3.47745</td>\n",
       "      <td>70145563.0</td>\n",
       "      <td>17.847</td>\n",
       "      <td>1.658</td>\n",
       "      <td>4.483200e+05</td>\n",
       "      <td>2.043658e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>603977</td>\n",
       "      <td>国泰集团</td>\n",
       "      <td>-0.735</td>\n",
       "      <td>8.10</td>\n",
       "      <td>8.03</td>\n",
       "      <td>8.12</td>\n",
       "      <td>7.96</td>\n",
       "      <td>8.16</td>\n",
       "      <td>447026.0</td>\n",
       "      <td>0.25406</td>\n",
       "      <td>3588007.0</td>\n",
       "      <td>26.129</td>\n",
       "      <td>1.868</td>\n",
       "      <td>2.507047e+05</td>\n",
       "      <td>1.425211e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>603976</td>\n",
       "      <td>正川股份</td>\n",
       "      <td>-0.200</td>\n",
       "      <td>14.96</td>\n",
       "      <td>14.75</td>\n",
       "      <td>15.08</td>\n",
       "      <td>14.52</td>\n",
       "      <td>14.99</td>\n",
       "      <td>780200.0</td>\n",
       "      <td>2.06402</td>\n",
       "      <td>11539274.0</td>\n",
       "      <td>16.440</td>\n",
       "      <td>1.657</td>\n",
       "      <td>2.261952e+05</td>\n",
       "      <td>5.654880e+04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>603970</td>\n",
       "      <td>中农立华</td>\n",
       "      <td>-1.721</td>\n",
       "      <td>18.27</td>\n",
       "      <td>18.09</td>\n",
       "      <td>18.35</td>\n",
       "      <td>17.69</td>\n",
       "      <td>18.59</td>\n",
       "      <td>2839540.0</td>\n",
       "      <td>7.09884</td>\n",
       "      <td>51189531.0</td>\n",
       "      <td>20.787</td>\n",
       "      <td>3.020</td>\n",
       "      <td>2.923201e+05</td>\n",
       "      <td>7.308015e+04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>603969</td>\n",
       "      <td>银龙股份</td>\n",
       "      <td>-0.604</td>\n",
       "      <td>6.58</td>\n",
       "      <td>6.53</td>\n",
       "      <td>6.59</td>\n",
       "      <td>6.42</td>\n",
       "      <td>6.62</td>\n",
       "      <td>2839560.0</td>\n",
       "      <td>0.48958</td>\n",
       "      <td>18442553.0</td>\n",
       "      <td>21.933</td>\n",
       "      <td>1.611</td>\n",
       "      <td>3.816400e+05</td>\n",
       "      <td>3.816400e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>603968</td>\n",
       "      <td>醋化股份</td>\n",
       "      <td>-1.486</td>\n",
       "      <td>17.90</td>\n",
       "      <td>17.97</td>\n",
       "      <td>18.00</td>\n",
       "      <td>17.67</td>\n",
       "      <td>18.17</td>\n",
       "      <td>731500.0</td>\n",
       "      <td>0.35774</td>\n",
       "      <td>13036656.0</td>\n",
       "      <td>22.658</td>\n",
       "      <td>2.651</td>\n",
       "      <td>3.660192e+05</td>\n",
       "      <td>3.660192e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>603966</td>\n",
       "      <td>法兰泰克</td>\n",
       "      <td>-0.871</td>\n",
       "      <td>9.11</td>\n",
       "      <td>9.02</td>\n",
       "      <td>9.17</td>\n",
       "      <td>8.92</td>\n",
       "      <td>9.19</td>\n",
       "      <td>829830.0</td>\n",
       "      <td>0.89239</td>\n",
       "      <td>7519922.0</td>\n",
       "      <td>22.220</td>\n",
       "      <td>1.770</td>\n",
       "      <td>1.922616e+05</td>\n",
       "      <td>8.471307e+04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>603963</td>\n",
       "      <td>大理药业</td>\n",
       "      <td>1.081</td>\n",
       "      <td>20.58</td>\n",
       "      <td>19.85</td>\n",
       "      <td>20.95</td>\n",
       "      <td>19.71</td>\n",
       "      <td>20.36</td>\n",
       "      <td>2405930.0</td>\n",
       "      <td>7.40286</td>\n",
       "      <td>48907735.0</td>\n",
       "      <td>37.418</td>\n",
       "      <td>4.359</td>\n",
       "      <td>2.675400e+05</td>\n",
       "      <td>6.688500e+04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>603960</td>\n",
       "      <td>克来机电</td>\n",
       "      <td>0.157</td>\n",
       "      <td>31.92</td>\n",
       "      <td>31.50</td>\n",
       "      <td>32.05</td>\n",
       "      <td>31.00</td>\n",
       "      <td>31.87</td>\n",
       "      <td>413830.0</td>\n",
       "      <td>0.79877</td>\n",
       "      <td>13078796.0</td>\n",
       "      <td>62.588</td>\n",
       "      <td>7.304</td>\n",
       "      <td>4.315584e+05</td>\n",
       "      <td>1.653725e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>603959</td>\n",
       "      <td>百利科技</td>\n",
       "      <td>-4.884</td>\n",
       "      <td>16.36</td>\n",
       "      <td>17.30</td>\n",
       "      <td>17.30</td>\n",
       "      <td>16.11</td>\n",
       "      <td>17.20</td>\n",
       "      <td>1543697.0</td>\n",
       "      <td>1.03632</td>\n",
       "      <td>25301353.0</td>\n",
       "      <td>34.083</td>\n",
       "      <td>3.715</td>\n",
       "      <td>5.130496e+05</td>\n",
       "      <td>2.436986e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>603958</td>\n",
       "      <td>哈森股份</td>\n",
       "      <td>0.424</td>\n",
       "      <td>9.48</td>\n",
       "      <td>9.37</td>\n",
       "      <td>9.51</td>\n",
       "      <td>9.31</td>\n",
       "      <td>9.44</td>\n",
       "      <td>884152.0</td>\n",
       "      <td>1.33964</td>\n",
       "      <td>8328425.0</td>\n",
       "      <td>113.397</td>\n",
       "      <td>1.763</td>\n",
       "      <td>2.084715e+05</td>\n",
       "      <td>6.256705e+04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>603955</td>\n",
       "      <td>大千生态</td>\n",
       "      <td>0.286</td>\n",
       "      <td>17.52</td>\n",
       "      <td>17.43</td>\n",
       "      <td>17.53</td>\n",
       "      <td>16.96</td>\n",
       "      <td>17.47</td>\n",
       "      <td>328990.0</td>\n",
       "      <td>0.46129</td>\n",
       "      <td>5689313.0</td>\n",
       "      <td>18.240</td>\n",
       "      <td>1.457</td>\n",
       "      <td>1.981512e+05</td>\n",
       "      <td>1.249530e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>603939</td>\n",
       "      <td>益丰药房</td>\n",
       "      <td>1.351</td>\n",
       "      <td>57.77</td>\n",
       "      <td>56.19</td>\n",
       "      <td>58.02</td>\n",
       "      <td>56.03</td>\n",
       "      <td>57.00</td>\n",
       "      <td>1948948.0</td>\n",
       "      <td>0.53735</td>\n",
       "      <td>111118100.0</td>\n",
       "      <td>66.863</td>\n",
       "      <td>6.411</td>\n",
       "      <td>2.095287e+06</td>\n",
       "      <td>2.095287e+06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>603938</td>\n",
       "      <td>三孚股份</td>\n",
       "      <td>-1.029</td>\n",
       "      <td>26.92</td>\n",
       "      <td>26.40</td>\n",
       "      <td>27.06</td>\n",
       "      <td>25.82</td>\n",
       "      <td>27.20</td>\n",
       "      <td>4625978.0</td>\n",
       "      <td>9.10866</td>\n",
       "      <td>122587088.0</td>\n",
       "      <td>24.697</td>\n",
       "      <td>3.958</td>\n",
       "      <td>4.042485e+05</td>\n",
       "      <td>1.367175e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>603937</td>\n",
       "      <td>丽岛新材</td>\n",
       "      <td>-1.368</td>\n",
       "      <td>15.86</td>\n",
       "      <td>15.46</td>\n",
       "      <td>16.08</td>\n",
       "      <td>15.22</td>\n",
       "      <td>16.08</td>\n",
       "      <td>4836437.0</td>\n",
       "      <td>9.26166</td>\n",
       "      <td>75312253.0</td>\n",
       "      <td>27.345</td>\n",
       "      <td>2.675</td>\n",
       "      <td>3.312837e+05</td>\n",
       "      <td>8.282092e+04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>603936</td>\n",
       "      <td>博敏电子</td>\n",
       "      <td>3.059</td>\n",
       "      <td>18.53</td>\n",
       "      <td>17.90</td>\n",
       "      <td>18.60</td>\n",
       "      <td>17.61</td>\n",
       "      <td>17.98</td>\n",
       "      <td>2127543.0</td>\n",
       "      <td>3.79241</td>\n",
       "      <td>38694908.0</td>\n",
       "      <td>47.513</td>\n",
       "      <td>3.082</td>\n",
       "      <td>3.992430e+05</td>\n",
       "      <td>1.039533e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3576</th>\n",
       "      <td>600421</td>\n",
       "      <td>ST仰帆</td>\n",
       "      <td>-1.147</td>\n",
       "      <td>5.17</td>\n",
       "      <td>5.22</td>\n",
       "      <td>5.22</td>\n",
       "      <td>5.05</td>\n",
       "      <td>5.23</td>\n",
       "      <td>327457.0</td>\n",
       "      <td>0.16741</td>\n",
       "      <td>1684929.0</td>\n",
       "      <td>-129.250</td>\n",
       "      <td>227.753</td>\n",
       "      <td>1.011252e+05</td>\n",
       "      <td>1.011252e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3577</th>\n",
       "      <td>600408</td>\n",
       "      <td>*ST安泰</td>\n",
       "      <td>4.867</td>\n",
       "      <td>2.37</td>\n",
       "      <td>2.37</td>\n",
       "      <td>2.37</td>\n",
       "      <td>2.37</td>\n",
       "      <td>2.26</td>\n",
       "      <td>1644300.0</td>\n",
       "      <td>0.16332</td>\n",
       "      <td>3896991.0</td>\n",
       "      <td>-8.464</td>\n",
       "      <td>2.104</td>\n",
       "      <td>2.386116e+05</td>\n",
       "      <td>2.386116e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3578</th>\n",
       "      <td>600401</td>\n",
       "      <td>*ST海润</td>\n",
       "      <td>0.000</td>\n",
       "      <td>0.87</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.87</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>-1.673</td>\n",
       "      <td>4.157</td>\n",
       "      <td>4.110694e+05</td>\n",
       "      <td>4.110694e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3579</th>\n",
       "      <td>600399</td>\n",
       "      <td>*ST抚钢</td>\n",
       "      <td>0.000</td>\n",
       "      <td>5.50</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>5.50</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>-5.340</td>\n",
       "      <td>-6.225</td>\n",
       "      <td>7.150000e+05</td>\n",
       "      <td>6.212925e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3580</th>\n",
       "      <td>600397</td>\n",
       "      <td>*ST安煤</td>\n",
       "      <td>4.854</td>\n",
       "      <td>2.16</td>\n",
       "      <td>2.06</td>\n",
       "      <td>2.16</td>\n",
       "      <td>2.04</td>\n",
       "      <td>2.06</td>\n",
       "      <td>10792507.0</td>\n",
       "      <td>1.09020</td>\n",
       "      <td>23081108.0</td>\n",
       "      <td>-3.099</td>\n",
       "      <td>2.642</td>\n",
       "      <td>2.138313e+05</td>\n",
       "      <td>2.138313e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3581</th>\n",
       "      <td>600321</td>\n",
       "      <td>*ST正源</td>\n",
       "      <td>-0.518</td>\n",
       "      <td>1.92</td>\n",
       "      <td>1.91</td>\n",
       "      <td>1.93</td>\n",
       "      <td>1.89</td>\n",
       "      <td>1.93</td>\n",
       "      <td>2591000.0</td>\n",
       "      <td>0.17153</td>\n",
       "      <td>4946450.0</td>\n",
       "      <td>-640.000</td>\n",
       "      <td>1.090</td>\n",
       "      <td>2.900256e+05</td>\n",
       "      <td>2.900256e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3582</th>\n",
       "      <td>600311</td>\n",
       "      <td>荣华实业</td>\n",
       "      <td>1.618</td>\n",
       "      <td>3.14</td>\n",
       "      <td>3.06</td>\n",
       "      <td>3.17</td>\n",
       "      <td>3.05</td>\n",
       "      <td>3.09</td>\n",
       "      <td>12127051.0</td>\n",
       "      <td>1.82197</td>\n",
       "      <td>37929478.0</td>\n",
       "      <td>805.128</td>\n",
       "      <td>2.518</td>\n",
       "      <td>2.089984e+05</td>\n",
       "      <td>2.089984e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3583</th>\n",
       "      <td>600301</td>\n",
       "      <td>ST南化</td>\n",
       "      <td>-0.577</td>\n",
       "      <td>5.17</td>\n",
       "      <td>5.15</td>\n",
       "      <td>5.18</td>\n",
       "      <td>5.10</td>\n",
       "      <td>5.20</td>\n",
       "      <td>272000.0</td>\n",
       "      <td>0.11567</td>\n",
       "      <td>1396341.0</td>\n",
       "      <td>-37.437</td>\n",
       "      <td>5.189</td>\n",
       "      <td>1.215716e+05</td>\n",
       "      <td>1.215716e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3584</th>\n",
       "      <td>600289</td>\n",
       "      <td>*ST信通</td>\n",
       "      <td>-0.413</td>\n",
       "      <td>2.41</td>\n",
       "      <td>2.39</td>\n",
       "      <td>2.42</td>\n",
       "      <td>2.36</td>\n",
       "      <td>2.42</td>\n",
       "      <td>2477312.0</td>\n",
       "      <td>0.43775</td>\n",
       "      <td>5922114.0</td>\n",
       "      <td>-0.613</td>\n",
       "      <td>2.567</td>\n",
       "      <td>1.520835e+05</td>\n",
       "      <td>1.363874e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3585</th>\n",
       "      <td>600275</td>\n",
       "      <td>ST昌鱼</td>\n",
       "      <td>0.000</td>\n",
       "      <td>3.12</td>\n",
       "      <td>3.10</td>\n",
       "      <td>3.14</td>\n",
       "      <td>3.07</td>\n",
       "      <td>3.12</td>\n",
       "      <td>1882500.0</td>\n",
       "      <td>0.36996</td>\n",
       "      <td>5826854.0</td>\n",
       "      <td>385.185</td>\n",
       "      <td>11.624</td>\n",
       "      <td>1.587572e+05</td>\n",
       "      <td>1.587572e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3586</th>\n",
       "      <td>600265</td>\n",
       "      <td>ST景谷</td>\n",
       "      <td>0.000</td>\n",
       "      <td>25.00</td>\n",
       "      <td>25.00</td>\n",
       "      <td>25.18</td>\n",
       "      <td>24.62</td>\n",
       "      <td>25.00</td>\n",
       "      <td>40425.0</td>\n",
       "      <td>0.03114</td>\n",
       "      <td>1009862.0</td>\n",
       "      <td>-104.167</td>\n",
       "      <td>145.012</td>\n",
       "      <td>3.245000e+05</td>\n",
       "      <td>3.245000e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3587</th>\n",
       "      <td>600247</td>\n",
       "      <td>*ST成城</td>\n",
       "      <td>2.312</td>\n",
       "      <td>5.31</td>\n",
       "      <td>5.22</td>\n",
       "      <td>5.36</td>\n",
       "      <td>5.12</td>\n",
       "      <td>5.19</td>\n",
       "      <td>924600.0</td>\n",
       "      <td>0.27482</td>\n",
       "      <td>4889814.0</td>\n",
       "      <td>-25.190</td>\n",
       "      <td>57.655</td>\n",
       "      <td>1.786505e+05</td>\n",
       "      <td>1.786505e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3588</th>\n",
       "      <td>600242</td>\n",
       "      <td>中昌数据</td>\n",
       "      <td>0.226</td>\n",
       "      <td>13.31</td>\n",
       "      <td>13.28</td>\n",
       "      <td>13.38</td>\n",
       "      <td>13.23</td>\n",
       "      <td>13.28</td>\n",
       "      <td>451630.0</td>\n",
       "      <td>0.14869</td>\n",
       "      <td>5993227.0</td>\n",
       "      <td>47.536</td>\n",
       "      <td>3.048</td>\n",
       "      <td>6.078213e+05</td>\n",
       "      <td>4.042870e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3589</th>\n",
       "      <td>600238</td>\n",
       "      <td>*ST椰岛</td>\n",
       "      <td>-0.816</td>\n",
       "      <td>6.08</td>\n",
       "      <td>6.13</td>\n",
       "      <td>6.13</td>\n",
       "      <td>5.95</td>\n",
       "      <td>6.13</td>\n",
       "      <td>379001.0</td>\n",
       "      <td>0.08517</td>\n",
       "      <td>2306407.0</td>\n",
       "      <td>-25.333</td>\n",
       "      <td>4.053</td>\n",
       "      <td>2.725056e+05</td>\n",
       "      <td>2.705610e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3590</th>\n",
       "      <td>600234</td>\n",
       "      <td>ST山水</td>\n",
       "      <td>0.692</td>\n",
       "      <td>7.28</td>\n",
       "      <td>7.33</td>\n",
       "      <td>7.33</td>\n",
       "      <td>7.16</td>\n",
       "      <td>7.23</td>\n",
       "      <td>89909.0</td>\n",
       "      <td>0.04441</td>\n",
       "      <td>648587.0</td>\n",
       "      <td>-56.000</td>\n",
       "      <td>20.375</td>\n",
       "      <td>1.473806e+05</td>\n",
       "      <td>1.473806e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3591</th>\n",
       "      <td>600228</td>\n",
       "      <td>ST昌九</td>\n",
       "      <td>-1.345</td>\n",
       "      <td>8.07</td>\n",
       "      <td>8.15</td>\n",
       "      <td>8.15</td>\n",
       "      <td>8.00</td>\n",
       "      <td>8.18</td>\n",
       "      <td>339211.0</td>\n",
       "      <td>0.14056</td>\n",
       "      <td>2729325.0</td>\n",
       "      <td>74.515</td>\n",
       "      <td>36.749</td>\n",
       "      <td>1.947452e+05</td>\n",
       "      <td>1.947452e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3592</th>\n",
       "      <td>600217</td>\n",
       "      <td>中再资环</td>\n",
       "      <td>0.000</td>\n",
       "      <td>6.13</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>6.13</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>38.457</td>\n",
       "      <td>4.890</td>\n",
       "      <td>8.512484e+05</td>\n",
       "      <td>8.084923e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3593</th>\n",
       "      <td>600209</td>\n",
       "      <td>*ST罗顿</td>\n",
       "      <td>-1.695</td>\n",
       "      <td>3.48</td>\n",
       "      <td>3.47</td>\n",
       "      <td>3.51</td>\n",
       "      <td>3.41</td>\n",
       "      <td>3.54</td>\n",
       "      <td>6053323.0</td>\n",
       "      <td>1.37885</td>\n",
       "      <td>20911728.0</td>\n",
       "      <td>-33.494</td>\n",
       "      <td>2.504</td>\n",
       "      <td>1.527759e+05</td>\n",
       "      <td>1.527759e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3594</th>\n",
       "      <td>600202</td>\n",
       "      <td>*ST哈空</td>\n",
       "      <td>1.558</td>\n",
       "      <td>3.26</td>\n",
       "      <td>3.18</td>\n",
       "      <td>3.26</td>\n",
       "      <td>3.16</td>\n",
       "      <td>3.21</td>\n",
       "      <td>2150901.0</td>\n",
       "      <td>0.56109</td>\n",
       "      <td>6909113.0</td>\n",
       "      <td>-14.279</td>\n",
       "      <td>2.154</td>\n",
       "      <td>1.249691e+05</td>\n",
       "      <td>1.249691e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3595</th>\n",
       "      <td>600198</td>\n",
       "      <td>*ST大唐</td>\n",
       "      <td>1.845</td>\n",
       "      <td>5.52</td>\n",
       "      <td>5.36</td>\n",
       "      <td>5.55</td>\n",
       "      <td>5.29</td>\n",
       "      <td>5.42</td>\n",
       "      <td>6319268.0</td>\n",
       "      <td>0.72193</td>\n",
       "      <td>34531851.0</td>\n",
       "      <td>-1.838</td>\n",
       "      <td>-9.095</td>\n",
       "      <td>4.869239e+05</td>\n",
       "      <td>4.831798e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3596</th>\n",
       "      <td>600193</td>\n",
       "      <td>*ST创兴</td>\n",
       "      <td>2.273</td>\n",
       "      <td>2.70</td>\n",
       "      <td>2.63</td>\n",
       "      <td>2.72</td>\n",
       "      <td>2.59</td>\n",
       "      <td>2.64</td>\n",
       "      <td>2323421.0</td>\n",
       "      <td>0.54621</td>\n",
       "      <td>6189532.0</td>\n",
       "      <td>-15.000</td>\n",
       "      <td>6.283</td>\n",
       "      <td>1.148507e+05</td>\n",
       "      <td>1.148507e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3597</th>\n",
       "      <td>600163</td>\n",
       "      <td>中闽能源</td>\n",
       "      <td>0.000</td>\n",
       "      <td>3.46</td>\n",
       "      <td>3.42</td>\n",
       "      <td>3.46</td>\n",
       "      <td>3.40</td>\n",
       "      <td>3.46</td>\n",
       "      <td>1565400.0</td>\n",
       "      <td>0.15662</td>\n",
       "      <td>5364698.0</td>\n",
       "      <td>22.468</td>\n",
       "      <td>1.922</td>\n",
       "      <td>3.458150e+05</td>\n",
       "      <td>3.458150e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3598</th>\n",
       "      <td>600150</td>\n",
       "      <td>*ST船舶</td>\n",
       "      <td>5.000</td>\n",
       "      <td>11.13</td>\n",
       "      <td>10.49</td>\n",
       "      <td>11.13</td>\n",
       "      <td>10.40</td>\n",
       "      <td>10.60</td>\n",
       "      <td>15282290.0</td>\n",
       "      <td>1.10892</td>\n",
       "      <td>168003001.0</td>\n",
       "      <td>-6.665</td>\n",
       "      <td>1.045</td>\n",
       "      <td>1.533845e+06</td>\n",
       "      <td>1.533845e+06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3599</th>\n",
       "      <td>600149</td>\n",
       "      <td>ST坊展</td>\n",
       "      <td>-1.670</td>\n",
       "      <td>5.30</td>\n",
       "      <td>5.30</td>\n",
       "      <td>5.33</td>\n",
       "      <td>5.21</td>\n",
       "      <td>5.39</td>\n",
       "      <td>1955203.0</td>\n",
       "      <td>0.51431</td>\n",
       "      <td>10287746.0</td>\n",
       "      <td>98.881</td>\n",
       "      <td>10.004</td>\n",
       "      <td>2.014848e+05</td>\n",
       "      <td>2.014848e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3600</th>\n",
       "      <td>600145</td>\n",
       "      <td>*ST新亿</td>\n",
       "      <td>0.000</td>\n",
       "      <td>1.87</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>1.87</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>271.014</td>\n",
       "      <td>4.464</td>\n",
       "      <td>2.788358e+05</td>\n",
       "      <td>2.788358e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3601</th>\n",
       "      <td>600091</td>\n",
       "      <td>ST明科</td>\n",
       "      <td>0.571</td>\n",
       "      <td>3.52</td>\n",
       "      <td>3.48</td>\n",
       "      <td>3.53</td>\n",
       "      <td>3.47</td>\n",
       "      <td>3.50</td>\n",
       "      <td>598864.0</td>\n",
       "      <td>0.17795</td>\n",
       "      <td>2094565.0</td>\n",
       "      <td>352.000</td>\n",
       "      <td>1.728</td>\n",
       "      <td>1.539692e+05</td>\n",
       "      <td>1.184572e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3602</th>\n",
       "      <td>600087</td>\n",
       "      <td>退市长油</td>\n",
       "      <td>0.000</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00000</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.000</td>\n",
       "      <td>0.000</td>\n",
       "      <td>0.000000e+00</td>\n",
       "      <td>0.000000e+00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3603</th>\n",
       "      <td>600074</td>\n",
       "      <td>*ST保千</td>\n",
       "      <td>0.806</td>\n",
       "      <td>1.25</td>\n",
       "      <td>1.23</td>\n",
       "      <td>1.25</td>\n",
       "      <td>1.21</td>\n",
       "      <td>1.24</td>\n",
       "      <td>9702902.0</td>\n",
       "      <td>0.94565</td>\n",
       "      <td>11993215.0</td>\n",
       "      <td>-0.394</td>\n",
       "      <td>-0.877</td>\n",
       "      <td>3.047358e+05</td>\n",
       "      <td>1.282566e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3604</th>\n",
       "      <td>600071</td>\n",
       "      <td>凤凰光学</td>\n",
       "      <td>1.260</td>\n",
       "      <td>11.25</td>\n",
       "      <td>10.83</td>\n",
       "      <td>11.25</td>\n",
       "      <td>10.64</td>\n",
       "      <td>11.11</td>\n",
       "      <td>1470038.0</td>\n",
       "      <td>0.61904</td>\n",
       "      <td>16176092.0</td>\n",
       "      <td>80.357</td>\n",
       "      <td>6.341</td>\n",
       "      <td>2.671565e+05</td>\n",
       "      <td>2.671565e+05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3605</th>\n",
       "      <td>600069</td>\n",
       "      <td>银鸽投资</td>\n",
       "      <td>-0.276</td>\n",
       "      <td>3.61</td>\n",
       "      <td>3.61</td>\n",
       "      <td>3.62</td>\n",
       "      <td>3.56</td>\n",
       "      <td>3.62</td>\n",
       "      <td>4892200.0</td>\n",
       "      <td>0.30127</td>\n",
       "      <td>17564329.0</td>\n",
       "      <td>90.250</td>\n",
       "      <td>2.132</td>\n",
       "      <td>5.862040e+05</td>\n",
       "      <td>5.862040e+05</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>3606 rows × 15 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        code   name  changepercent   trade    open    high     low  \\\n",
       "0     603999   读者传媒          0.862    5.85    5.73    5.87    5.69   \n",
       "1     603998   方盛制药         -1.069    6.48    6.38    6.51    6.31   \n",
       "2     603997   继峰股份          0.000   10.87    0.00    0.00    0.00   \n",
       "3     603996   中新科技          0.513    9.80    9.51    9.85    9.46   \n",
       "4     603993   洛阳钼业          0.798    5.05    4.90    5.08    4.86   \n",
       "5     603991   至正股份          0.143   20.96   20.79   20.99   20.20   \n",
       "6     603990   麦迪科技          0.830   34.01   33.75   34.02   33.25   \n",
       "7     603989   艾华集团          7.257   22.17   20.59   22.59   20.06   \n",
       "8     603988   中电电机         -0.945   17.81   17.58   18.13   17.44   \n",
       "9     603987    康德莱         -0.752    6.60    6.56    6.62    6.43   \n",
       "10    603986   兆易创新          3.121  114.64  109.66  115.28  108.68   \n",
       "11    603985   恒润股份         -0.216   18.52   18.30   18.54   18.20   \n",
       "12    603980   吉华集团         -0.356   13.99   13.80   14.05   13.72   \n",
       "13    603979    金诚信         -0.879    9.02    8.97    9.09    8.82   \n",
       "14    603978   深圳新星         -1.338   28.02   27.55   28.28   27.08   \n",
       "15    603977   国泰集团         -0.735    8.10    8.03    8.12    7.96   \n",
       "16    603976   正川股份         -0.200   14.96   14.75   15.08   14.52   \n",
       "17    603970   中农立华         -1.721   18.27   18.09   18.35   17.69   \n",
       "18    603969   银龙股份         -0.604    6.58    6.53    6.59    6.42   \n",
       "19    603968   醋化股份         -1.486   17.90   17.97   18.00   17.67   \n",
       "20    603966   法兰泰克         -0.871    9.11    9.02    9.17    8.92   \n",
       "21    603963   大理药业          1.081   20.58   19.85   20.95   19.71   \n",
       "22    603960   克来机电          0.157   31.92   31.50   32.05   31.00   \n",
       "23    603959   百利科技         -4.884   16.36   17.30   17.30   16.11   \n",
       "24    603958   哈森股份          0.424    9.48    9.37    9.51    9.31   \n",
       "25    603955   大千生态          0.286   17.52   17.43   17.53   16.96   \n",
       "26    603939   益丰药房          1.351   57.77   56.19   58.02   56.03   \n",
       "27    603938   三孚股份         -1.029   26.92   26.40   27.06   25.82   \n",
       "28    603937   丽岛新材         -1.368   15.86   15.46   16.08   15.22   \n",
       "29    603936   博敏电子          3.059   18.53   17.90   18.60   17.61   \n",
       "...      ...    ...            ...     ...     ...     ...     ...   \n",
       "3576  600421   ST仰帆         -1.147    5.17    5.22    5.22    5.05   \n",
       "3577  600408  *ST安泰          4.867    2.37    2.37    2.37    2.37   \n",
       "3578  600401  *ST海润          0.000    0.87    0.00    0.00    0.00   \n",
       "3579  600399  *ST抚钢          0.000    5.50    0.00    0.00    0.00   \n",
       "3580  600397  *ST安煤          4.854    2.16    2.06    2.16    2.04   \n",
       "3581  600321  *ST正源         -0.518    1.92    1.91    1.93    1.89   \n",
       "3582  600311   荣华实业          1.618    3.14    3.06    3.17    3.05   \n",
       "3583  600301   ST南化         -0.577    5.17    5.15    5.18    5.10   \n",
       "3584  600289  *ST信通         -0.413    2.41    2.39    2.42    2.36   \n",
       "3585  600275   ST昌鱼          0.000    3.12    3.10    3.14    3.07   \n",
       "3586  600265   ST景谷          0.000   25.00   25.00   25.18   24.62   \n",
       "3587  600247  *ST成城          2.312    5.31    5.22    5.36    5.12   \n",
       "3588  600242   中昌数据          0.226   13.31   13.28   13.38   13.23   \n",
       "3589  600238  *ST椰岛         -0.816    6.08    6.13    6.13    5.95   \n",
       "3590  600234   ST山水          0.692    7.28    7.33    7.33    7.16   \n",
       "3591  600228   ST昌九         -1.345    8.07    8.15    8.15    8.00   \n",
       "3592  600217   中再资环          0.000    6.13    0.00    0.00    0.00   \n",
       "3593  600209  *ST罗顿         -1.695    3.48    3.47    3.51    3.41   \n",
       "3594  600202  *ST哈空          1.558    3.26    3.18    3.26    3.16   \n",
       "3595  600198  *ST大唐          1.845    5.52    5.36    5.55    5.29   \n",
       "3596  600193  *ST创兴          2.273    2.70    2.63    2.72    2.59   \n",
       "3597  600163   中闽能源          0.000    3.46    3.42    3.46    3.40   \n",
       "3598  600150  *ST船舶          5.000   11.13   10.49   11.13   10.40   \n",
       "3599  600149   ST坊展         -1.670    5.30    5.30    5.33    5.21   \n",
       "3600  600145  *ST新亿          0.000    1.87    0.00    0.00    0.00   \n",
       "3601  600091   ST明科          0.571    3.52    3.48    3.53    3.47   \n",
       "3602  600087   退市长油          0.000    0.00    0.00    0.00    0.00   \n",
       "3603  600074  *ST保千          0.806    1.25    1.23    1.25    1.21   \n",
       "3604  600071   凤凰光学          1.260   11.25   10.83   11.25   10.64   \n",
       "3605  600069   银鸽投资         -0.276    3.61    3.61    3.62    3.56   \n",
       "\n",
       "      settlement       volume  turnoverratio       amount      per       pb  \\\n",
       "0           5.80    1946420.0        0.84480   11266084.0   44.656    1.989   \n",
       "1           6.55    3280500.0        0.77153   20937755.0   46.286    2.770   \n",
       "2          10.87          0.0        0.00000          0.0   23.630    3.837   \n",
       "3           9.75    5762718.0        5.57997   55728401.0   20.000    1.948   \n",
       "4           5.01  120604580.0        0.68270  600280386.0   36.071    2.803   \n",
       "5          20.93     137804.0        0.33546    2863459.0   38.815    3.338   \n",
       "6          33.73     263914.0        0.43787    8916934.0   53.141    6.372   \n",
       "7          20.67    1933524.0        0.49578   41377083.0   22.856    3.241   \n",
       "8          17.98    5192246.0        3.09062   92369992.0   63.607    4.509   \n",
       "9           6.65    1408191.0        0.52920    9209076.0   17.368    1.659   \n",
       "10        111.17    6147902.0        2.96431  690438062.0   57.608   13.582   \n",
       "11         18.56     312410.0        0.46937    5740680.0   14.635    1.436   \n",
       "12         14.04    1778190.0        0.72392   24673322.0   15.844    1.709   \n",
       "13          9.10    2966448.0        0.50709   26536535.0   25.771    1.333   \n",
       "14         28.40    2536300.0        3.47745   70145563.0   17.847    1.658   \n",
       "15          8.16     447026.0        0.25406    3588007.0   26.129    1.868   \n",
       "16         14.99     780200.0        2.06402   11539274.0   16.440    1.657   \n",
       "17         18.59    2839540.0        7.09884   51189531.0   20.787    3.020   \n",
       "18          6.62    2839560.0        0.48958   18442553.0   21.933    1.611   \n",
       "19         18.17     731500.0        0.35774   13036656.0   22.658    2.651   \n",
       "20          9.19     829830.0        0.89239    7519922.0   22.220    1.770   \n",
       "21         20.36    2405930.0        7.40286   48907735.0   37.418    4.359   \n",
       "22         31.87     413830.0        0.79877   13078796.0   62.588    7.304   \n",
       "23         17.20    1543697.0        1.03632   25301353.0   34.083    3.715   \n",
       "24          9.44     884152.0        1.33964    8328425.0  113.397    1.763   \n",
       "25         17.47     328990.0        0.46129    5689313.0   18.240    1.457   \n",
       "26         57.00    1948948.0        0.53735  111118100.0   66.863    6.411   \n",
       "27         27.20    4625978.0        9.10866  122587088.0   24.697    3.958   \n",
       "28         16.08    4836437.0        9.26166   75312253.0   27.345    2.675   \n",
       "29         17.98    2127543.0        3.79241   38694908.0   47.513    3.082   \n",
       "...          ...          ...            ...          ...      ...      ...   \n",
       "3576        5.23     327457.0        0.16741    1684929.0 -129.250  227.753   \n",
       "3577        2.26    1644300.0        0.16332    3896991.0   -8.464    2.104   \n",
       "3578        0.87          0.0        0.00000          0.0   -1.673    4.157   \n",
       "3579        5.50          0.0        0.00000          0.0   -5.340   -6.225   \n",
       "3580        2.06   10792507.0        1.09020   23081108.0   -3.099    2.642   \n",
       "3581        1.93    2591000.0        0.17153    4946450.0 -640.000    1.090   \n",
       "3582        3.09   12127051.0        1.82197   37929478.0  805.128    2.518   \n",
       "3583        5.20     272000.0        0.11567    1396341.0  -37.437    5.189   \n",
       "3584        2.42    2477312.0        0.43775    5922114.0   -0.613    2.567   \n",
       "3585        3.12    1882500.0        0.36996    5826854.0  385.185   11.624   \n",
       "3586       25.00      40425.0        0.03114    1009862.0 -104.167  145.012   \n",
       "3587        5.19     924600.0        0.27482    4889814.0  -25.190   57.655   \n",
       "3588       13.28     451630.0        0.14869    5993227.0   47.536    3.048   \n",
       "3589        6.13     379001.0        0.08517    2306407.0  -25.333    4.053   \n",
       "3590        7.23      89909.0        0.04441     648587.0  -56.000   20.375   \n",
       "3591        8.18     339211.0        0.14056    2729325.0   74.515   36.749   \n",
       "3592        6.13          0.0        0.00000          0.0   38.457    4.890   \n",
       "3593        3.54    6053323.0        1.37885   20911728.0  -33.494    2.504   \n",
       "3594        3.21    2150901.0        0.56109    6909113.0  -14.279    2.154   \n",
       "3595        5.42    6319268.0        0.72193   34531851.0   -1.838   -9.095   \n",
       "3596        2.64    2323421.0        0.54621    6189532.0  -15.000    6.283   \n",
       "3597        3.46    1565400.0        0.15662    5364698.0   22.468    1.922   \n",
       "3598       10.60   15282290.0        1.10892  168003001.0   -6.665    1.045   \n",
       "3599        5.39    1955203.0        0.51431   10287746.0   98.881   10.004   \n",
       "3600        1.87          0.0        0.00000          0.0  271.014    4.464   \n",
       "3601        3.50     598864.0        0.17795    2094565.0  352.000    1.728   \n",
       "3602        0.00          0.0        0.00000          0.0    0.000    0.000   \n",
       "3603        1.24    9702902.0        0.94565   11993215.0   -0.394   -0.877   \n",
       "3604       11.11    1470038.0        0.61904   16176092.0   80.357    6.341   \n",
       "3605        3.62    4892200.0        0.30127   17564329.0   90.250    2.132   \n",
       "\n",
       "            mktcap           nmc  \n",
       "0     3.369600e+05  1.347840e+05  \n",
       "1     2.792468e+05  2.755275e+05  \n",
       "2     6.932008e+05  6.848100e+05  \n",
       "3     2.941470e+05  1.012095e+05  \n",
       "4     1.090762e+07  8.921215e+06  \n",
       "5     1.562254e+05  8.610141e+04  \n",
       "6     2.752178e+05  2.049851e+05  \n",
       "7     8.646300e+05  8.646300e+05  \n",
       "8     2.992080e+05  2.992080e+05  \n",
       "9     2.914619e+05  1.756260e+05  \n",
       "10    3.252478e+06  2.377601e+06  \n",
       "11    1.926080e+05  1.232691e+05  \n",
       "12    6.995000e+05  3.436407e+05  \n",
       "13    5.276700e+05  5.276700e+05  \n",
       "14    4.483200e+05  2.043658e+05  \n",
       "15    2.507047e+05  1.425211e+05  \n",
       "16    2.261952e+05  5.654880e+04  \n",
       "17    2.923201e+05  7.308015e+04  \n",
       "18    3.816400e+05  3.816400e+05  \n",
       "19    3.660192e+05  3.660192e+05  \n",
       "20    1.922616e+05  8.471307e+04  \n",
       "21    2.675400e+05  6.688500e+04  \n",
       "22    4.315584e+05  1.653725e+05  \n",
       "23    5.130496e+05  2.436986e+05  \n",
       "24    2.084715e+05  6.256705e+04  \n",
       "25    1.981512e+05  1.249530e+05  \n",
       "26    2.095287e+06  2.095287e+06  \n",
       "27    4.042485e+05  1.367175e+05  \n",
       "28    3.312837e+05  8.282092e+04  \n",
       "29    3.992430e+05  1.039533e+05  \n",
       "...            ...           ...  \n",
       "3576  1.011252e+05  1.011252e+05  \n",
       "3577  2.386116e+05  2.386116e+05  \n",
       "3578  4.110694e+05  4.110694e+05  \n",
       "3579  7.150000e+05  6.212925e+05  \n",
       "3580  2.138313e+05  2.138313e+05  \n",
       "3581  2.900256e+05  2.900256e+05  \n",
       "3582  2.089984e+05  2.089984e+05  \n",
       "3583  1.215716e+05  1.215716e+05  \n",
       "3584  1.520835e+05  1.363874e+05  \n",
       "3585  1.587572e+05  1.587572e+05  \n",
       "3586  3.245000e+05  3.245000e+05  \n",
       "3587  1.786505e+05  1.786505e+05  \n",
       "3588  6.078213e+05  4.042870e+05  \n",
       "3589  2.725056e+05  2.705610e+05  \n",
       "3590  1.473806e+05  1.473806e+05  \n",
       "3591  1.947452e+05  1.947452e+05  \n",
       "3592  8.512484e+05  8.084923e+05  \n",
       "3593  1.527759e+05  1.527759e+05  \n",
       "3594  1.249691e+05  1.249691e+05  \n",
       "3595  4.869239e+05  4.831798e+05  \n",
       "3596  1.148507e+05  1.148507e+05  \n",
       "3597  3.458150e+05  3.458150e+05  \n",
       "3598  1.533845e+06  1.533845e+06  \n",
       "3599  2.014848e+05  2.014848e+05  \n",
       "3600  2.788358e+05  2.788358e+05  \n",
       "3601  1.539692e+05  1.184572e+05  \n",
       "3602  0.000000e+00  0.000000e+00  \n",
       "3603  3.047358e+05  1.282566e+05  \n",
       "3604  2.671565e+05  2.671565e+05  \n",
       "3605  5.862040e+05  5.862040e+05  \n",
       "\n",
       "[3606 rows x 15 columns]"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "ts.get_today_all()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
